//isReadAll是是否已读的常量,默认为false
export default (state = { isReadAll: false }, action) => {
    switch (action.type) {
        case 'ReadAll':
            return {...state, isReadAll: true }
            // return {...state, isReadAll: true }
            //默认
        default:
            return state;
    }
}